//package read.niit.controller
//
//
//import org.apache.spark.streaming.dstream.DStream
//import read.niit.bean.Reader
//import read.niit.common.TController
//import read.niit.handler.DataHandler
//import read.niit.service.Top4WithGradeBookService
//
//class Top4WithGradeBookController extends TController{
//
//  private val top4WithGradeBookService = new Top4WithGradeBookService
//
//  override def dispatch(reader:DStream[Reader]): Unit = {
//    top4WithGradeBookService.dataAnalysis(reader)
//
//    //TODO 实时需求开启
//    DataHandler.startAndAwait()
//  }
//}
